﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MODEL;
using DAL;
namespace BLL
{
    public class BllClass
    {
        public int Insert(Class c)
        {
            return new DalClass().Insert(c);
        }
        public List<Class> GetAll()
        {
            return new DalClass().GetAll();
        }
        public bool IsExistByName(string name)
        {
            return new DalClass().IsExistByName(name);
        }
        public bool Delete(int id)
        {
            return new DalClass().Delete(id);
        }

        public int Update(Class c)
        {
            return new DalClass().Update(c);
        }
    }
}
